package com.m2bshop.shop.dao;

import com.m2bshop.shop.pojo.Brand;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BrandDao {
    public List<Brand> selectBrandAll();

    public List<Brand> selectBrandByComId(Integer companyId);

    public void insertBrand(Brand brand);

    public void updateBrand(Brand brand);

    public void updateBrandState(Integer brandId, String state);
}
